<?php
/**
 * Created by PhpStorm.
 * User: zhan
 * Date: 2018/8/7  17:08
 */
namespace app\pc\controller;
use app\pc\model\Member as memberModel;
class Member extends Base
{
    //检查权限作用域
    protected $beforeActionList = [
        'checkPrimaryScope' => [
            'except' => 'except'
        ],
    ];


    //用户详情
    public function memberInfo(){
        $memberInfo =  (new \app\pc\logic\Member())->memberInfo();
        return $this->ajaxReturn($memberInfo);
    }

    //修改个人资料
    public function personal_information(){
        $personal_information =  (new \app\pc\logic\Member())->personal_information();
        return $this->ajaxReturn($personal_information);
    }
}
